package com.xq.shop.dao;

import java.util.List;

import com.xq.shop.po.CartGood;

public interface ICartGoodDAO extends IBaseDAO<CartGood>{
	
	public static final String USER_CARTID = "user_cartId";
	public static final String USER_PRODUCTID = "user_productId";

	public List<CartGood> getByUID(Long userId);
	
	public CartGood get(Long userId, Long productId);
	
	public void delete(Long id, Long userId);
	
	public void delete(Long userId, Long[] productId);
}
